package com.liu.project.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.annotations.One;
import org.springframework.context.annotation.Lazy;


/**
 * @program: project
 * @description: 用户表
 * @author: 86187
 * @create: 2022-01-05 15:05
 **/

@Data
@ApiModel(value = "com.liu.project.pojo.User",description = "职业实体类")
public class User  {

    @ApiModelProperty(name = "id",value = "id")
    private int id;

    @ApiModelProperty(name = "username",value = "用户名",dataType = "String")
    private String username;

    @ApiModelProperty(name = "password",value = "密码",dataType = "String")
    private String password;
    @ApiModelProperty(name = "role",value = "用户角色")
    private  String role;
    @ApiModelProperty(name = "detailId",value = "用户信息id")
    private int detailId;
    @ApiModelProperty(name = "userInfo",value = "用户个人信息")
    UserInfo userInfo;

}
